package com.winchain.chainbill.receivables.biz.impt.vo;

import com.winchain.chainbill.receivables.base.po.ArRecord;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class ReadEcho implements Serializable {
	private static final long serialVersionUID = 4114057424131974640L;
	private List<ArRecord> data;
	private List<ArRecord> allData;
	private BigDecimal totalAmount = new BigDecimal(0);
	private String error;
	private String warning;
	private String outSuppliers;
	private int count;

	public List<ArRecord> getData() {
		return this.data;
	}

	public void setData(List<ArRecord> data) {
		this.data = data;
	}

	public void addAmount(BigDecimal money) {
		this.totalAmount = this.totalAmount.add(money);
	}

	public BigDecimal getTotalAmount() {
		return this.totalAmount;
	}

	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

	public String getError() {
		return this.error;
	}

	public void setError(String error) {
		this.error = error;
	}

	public String getWarning() {
		return this.warning;
	}

	public void setWarning(String warning) {
		this.warning = warning;
	}

	public String getOutSuppliers() {
		return this.outSuppliers;
	}

	public void setOutSuppliers(String outSuppliers) {
		this.outSuppliers = outSuppliers;
	}

	public int getCount() {
		return this.count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public List<ArRecord> getAllData() {
		return this.allData;
	}

	public void setAllData(List<ArRecord> allData) {
		this.allData = allData;
	}
}
